JavaScript

A5.chartRender Data Object

Description

The data for the currently rendering context.

Name
Description
A5.chart.Render Data.Axis Object

The data for an axis.

Properties

plotobject

The plot information.

typestring

The type of chart being plotted ("rect", "linear", "polar" or "radial").

dimensionsobject

The parameters of the dimensions being plotted. See A5.chart Mapped Data Object - Dimension Object.

axisobject

The axes being plotted. Property names will be "x" and "y" for "rect" charts, "angle" and "distance" for "polar" charts, and "value" for "linear" and "radial" charts. See A5.chart Render Data Object - Axis Object.

areaobject

Information about plot area.

svgobject

The SVG drawn so far.

backarray

The background SVG.

forearray

The foreground SVG.

htmlobject

The HTML drawn so far.

backarray

The background HTML.

forearray

The foreground HTML.

topnumber

The top of the plot area.

bottomnumber

The bottom of the plot area.

leftnumber

The left of the plot area.

rightnumber

The right of the plot area.

widthnumber

The width of the plot area.

heightnumber

The width of the plot area.

centerobject

The center of the plot area.

xnumber

The center "x" location.

ynumber

The center "y" location.

arcobject

For "polar" and "radial" charts, the definition of the arc being drawn.

startnumber

The start angle of the arc in degrees with "0" being up.

endnumber

The end angle of the arc in degrees with "0" being up.

lengthnumber

The length of the arc in degrees from start to the end angle.

directionnumber

The direction of the arc. A value of "1" being clockwise and "-1" being counterclockwise.

radiusnumber

The radius of the plotted arc.

stretchboolean

Whether or not the plot area will be stretchable.

groupsarray

The data groups being plotted. See A5.chart Mapped Data Object - Group Object.

groupobjectnull

The data group being plotted. If no group is being plotted at the current scope, the value will be null. See A5.chart Mapped Data Object - Group Object.

pointobjectnull

The data point being plotted. If no point is being plotted at the current scope, the value will be null. See A5.chart Mapped Data Object - Point Object.

pathobject

The path to the data being plotted.

groupnumber

The index of the group being plotted. If no group is being plotted at the current scope, the value will be -1.

pointnumber

The index of the point being plotted. If no point is being plotted at the current scope, the value will be -1.

paletteobject

The current palette in use. See A5.chart.palettes.